/**
 * Copyright &copy; 2012-2014 nplus1 All rights reserved.
 */
package com.gamma.nplus1.modules.sys.dao;

import java.util.List;

import com.gamma.nplus1.common.persistence.TreeDao;
import com.gamma.nplus1.common.persistence.annotation.MyBatisDao;
import com.gamma.nplus1.modules.sys.entity.Office;

/**
 * 机构DAO接口
 * @author ThinkGem
 * @version 2014-05-16
 */
@MyBatisDao
public interface OfficeDao extends TreeDao<Office> {
	
    public void deleteOfficeArea(Office office);
    
    public void insertOfficeArea(Office office);
    
    public Integer checkOfficeArea(Office office);
    
    public List<Office> queryOfficeRelOffice(Office office);
    
    public List<Office> queryRelOfficeOffice(Office office);
    
    public void deleteOfficeRelOffice(Office office);
    
    public void createOfficeRelOffice(Office office);
    
    public void updateOfficeUserinfo(Office office);
    
    //匹配卖家获取卖家ID
    public List<String> queryOfficeBySellerInfor(Office office);
    
}
